/**
 * 用户登录核心操作接口API
 */
import request from '@/utils/request'
// import qs from 'qs'

// 绑定手机号
const bindingMobile = (query) => {
  return request({
    url: '/addons/weixin/api/bind',
    method: 'get',
    params: query
  })
}

// 用户注册
const registerAccount = (data) => {
  return request({
    url: '/addons/weixin/api/reg',
    method: 'post',
    data
  })
}

export default {
  bindingMobile,
  registerAccount
}
